import React, { Component } from "react";
import { Dimensions, View , Text} from "react-native";
import { score } from "./systems/GameLoop";

export default class Score extends Component{
  render() {

    return (
      <View
        style={{
          width:Dimensions.get("window").width/5,
          height:Dimensions.get("window").height/4,
          backgroundColor: "transparent",
          position: "absolute",
          left:Dimensions.get("window").width/1.4,
        }}
      >
        <Text style={{
          fontSize:60,
          color:'green',
          opacity:0.6
        }}>{score}</Text>
      </View>
    );
  }
}
